﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Threading;
using HgRemoteContracts;
using System.ServiceModel;

namespace HgRemote
{
	public partial class CmdResultDialog : Form, IHgCallback
	{
		public CmdResultDialog()
		{
			InitializeComponent();
		}

		private void BtnDone_Click(object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.OK;
			this.Close();
		}

		public void SendResponse(string content)
		{
			Results.AppendText(content);
		}

		public void Finished()
		{
			BtnDone.Enabled = true;
		}
	}
}
